﻿<%@ Page Title="" Language="C#" MasterPageFile="~/common/AfterLogin.master" AutoEventWireup="true" CodeFile="change_pin.aspx.cs" Inherits="customer_service_user_change_pin" %>


<asp:Content ID="Content3" ContentPlaceHolderID="leftMenu" Runat="Server">
<ul>
                   <li><a href="<%= Page.ResolveUrl("~/customer_service/user/alert_management.aspx")%>">Manage e-Alerts</a></li>
                   <li><a href="<%= Page.ResolveUrl("~/customer_service/user/change_pin.aspx")%>">Change Password.</a></li>
                   <li><a href="<%= Page.ResolveUrl("~/customer_service/user/change_personal_details.aspx")%>">Change Personal Details</a></li>
               </ul>

</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="content" Runat="Server">
             
             
             
             <h1>Change Password</h1>
             <br />
             <p>
                 <asp:Label ID="lbCurrentPin" runat="server" Text="Current Passwprd:"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="tbCurrentPin" runat="server" TextMode="Password"></asp:TextBox>
             &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                     ControlToValidate="tbCurrentPin" 
                     ErrorMessage="Please enter your current password" ForeColor="Red">*</asp:RequiredFieldValidator>
             </p>
             <p>
                    <asp:Label ID="lbNewPin" runat="server" Text="New Password: "></asp:Label>
                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 <asp:TextBox ID="tbNewPin" runat="server" TextMode="Password"></asp:TextBox>
             &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="tbNewPin" ErrorMessage="Please enter your new password" 
                        ForeColor="Red">*</asp:RequiredFieldValidator>
             &nbsp;</p>
             <p>
                 <asp:Label ID="lbConfirm" runat="server" Text="Confirm new Password: "></asp:Label>
                 &nbsp;&nbsp;
                 <asp:TextBox ID="tbConfirm" runat="server" TextMode="Password"></asp:TextBox>
             &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                     ControlToValidate="tbConfirm" ErrorMessage="Please confirm your new password" 
                     ForeColor="Red">*</asp:RequiredFieldValidator>
             &nbsp;<asp:CompareValidator ID="CompareValidator1" runat="server" 
                     ControlToCompare="tbNewPin" ControlToValidate="tbConfirm" 
                     ErrorMessage="New password does not match" ForeColor="Red">*</asp:CompareValidator>
             </p>
             <p>
                 &nbsp;</p>
             <p>
                 <asp:Button ID="btnChange" runat="server" Text="Change" 
                     style="margin-left:100px;" onclick="btnChange_Click"/>
             </p>
             <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" />
             <p>
                 <asp:Label ID="lbChange" runat="server" ForeColor="Red"></asp:Label>
             </p>



             



</asp:Content>

